package com.hsgene.order.condition;

import com.hsgene.common.util.support.LimitHelper;
import com.hsgene.common.util.support.OrderHelper;

import java.io.Serializable;

/**
 * @desc:供应商订单查询条件
 * @author: fuxiang
 * @date: 2018/8/6 15:58
 */
public class OrderSupplierCondition implements Serializable {
    private static final long serialVersionUID = 5254424125886689890L;
    /**
     * 订单状态
     */
    private String status;
    /**
     * 起止时间开始
     */
    private String timeStart;

    /**
     * 起止时间结束
     */
    private String timeEnd;
    /**
     * 输入框条件
     */
    private String conditionValue;
    /**
     * 分页条件
     */
    private LimitHelper limitHelper;

    /**
     * 排序条件
     */
    private OrderHelper orderHelper;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(String timeStart) {
        this.timeStart = timeStart;
    }

    /* public void setTimeStart(String timeStart) {
         Date date = SimpleDateUtils.parseDate(timeStart, SimpleDateUtils.DatePattern.STANDARD_PATTERN.toString());
         this.timeStart = date;
     }
     public void setTimeEnd(String timeEnd) {
         Date date = SimpleDateUtils.parseDate(timeEnd, SimpleDateUtils.DatePattern.STANDARD_PATTERN.toString());
         this.timeEnd = date;
     }*/
    public String getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }


    public LimitHelper getLimitHelper() {
        return limitHelper;
    }

    public void setLimitHelper(LimitHelper limitHelper) {
        this.limitHelper = limitHelper;
    }

    public OrderHelper getOrderHelper() {
        return orderHelper;
    }

    public void setOrderHelper(OrderHelper orderHelper) {
        this.orderHelper = orderHelper;
    }

    public String getConditionValue() {
        return conditionValue;
    }

    public void setConditionValue(String conditionValue) {
        this.conditionValue = conditionValue;
    }
}
